﻿#pragma once

#include <vector>
#include "stackshap_json.h"

class StackSetting
{
public:
	StackSetting();
	~StackSetting();

	static StackSetting* GetInstance();

	bool Init(bool reInit = false);

	// 垛形形状配置接口
	std::vector<int> GetShapList();
	ShapCfg GetShapCfgById(int id);
	// 垛形信息接口
	std::vector<int> GetStackIdList();
	StackCfg GetStackCfgById(int id);

private:
	std::map<int, ShapCfg> m_shaps;
	std::map<int, StackCfg> m_stacks;
};
